package com.plian.system.entity.fr.cluemanagement;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.plian.Tools.DateUtil;
import com.plian.system.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 预处理意见表(CluePreProcessOpinion)实体类
 *
 * @author jiatp
 * @since 2023-03-24 11:01:42
 */
@Data
@TableName("clue_pre_process_opinion_sub")
@EqualsAndHashCode(callSuper = true)
public class CluePreProcessOpinionSub extends BaseEntity implements Serializable {
    private static final long serialVersionUID = -65274671856658974L;

    /**
     * 线索管理主表id
     */
    @ApiModelProperty(value = "线索管理主表id")
    private String clueManagementId;

    /**
     * 预处理意见表id
     */
    @ApiModelProperty(value = "预处理意见表id")
    private String cluePreProcessOpinionId;

    /**
     * 涉及直接责任人
     */
    @ApiModelProperty(value = "涉及直接责任人")
    private String dutyUsers;
    /**
     * 涉及直接责任处理意见
     */
    @ApiModelProperty(value = "涉及直接责任处理意见")
    private String dutyProcessOpinion;

    /**
     * 审批人
     */
    @ApiModelProperty(value = "审批人")
    private String approvedUser;
    /**
     * 审批时间
     */
    @DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
    @JsonFormat(pattern = DateUtil.PATTERN_DATE, timezone = "Asia/Shanghai")
    @ApiModelProperty(value = "审批时间")
    private Date approvedTime;


}

